(function(){var $gwt_version = "2.0.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = 'BF443CAFEC04E4FDE47FD2BA81DE4878';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'simplegadget',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});function s(){}
function N(){}
function M(){}
function L(){}
function K(){}
function dm(){}
function pb(){}
function Db(){}
function Pb(){}
function Tb(){}
function nc(){}
function tc(){}
function sc(){}
function Sc(){}
function Rc(){}
function Qc(){}
function gd(){}
function fd(){}
function Dd(){}
function Md(){}
function Vd(){}
function Yd(){}
function ge(){}
function ke(){}
function ue(){}
function yf(){}
function Uf(){}
function $f(){}
function Dg(){}
function Ng(){}
function Og(){}
function Qg(){}
function Rg(){}
function Cg(){}
function Vg(){}
function Wg(){}
function Bg(){}
function Ag(){}
function zg(){}
function eh(){}
function kh(){}
function nh(){}
function th(){}
function sh(){}
function rh(){}
function Gh(){}
function Ih(){}
function Lh(){}
function Vh(){}
function Yh(){}
function $h(){}
function fi(){}
function pi(){}
function Ai(){}
function Ei(){}
function Hi(){}
function Mi(){}
function Pi(){}
function Ui(){}
function Xi(){}
function qj(){}
function tj(){}
function Aj(){}
function zj(){}
function Yj(){}
function Xj(){}
function ik(){}
function qk(){}
function pk(){}
function zk(){}
function Gk(){}
function Pk(){}
function Xk(){}
function cl(){}
function hl(){}
function wl(){}
function Al(){}
function Pl(){}
function Xl(){}
function mh(a){Ig(a)}
function ph(a){Jg(a)}
function _h(){_h=dm;Ph()}
function Rd(){return Nd}
function Zf(){return Vf}
function uc(){uc=dm;oc()}
function vc(){vc=dm;uc()}
function Xh(a){a.c&&Jg(a)}
function wk(){return null}
function Lb(a){return a.h()}
function kd(){return this.d}
function Pd(a){Se(a,6);Sh()}
function Ck(){return this.b}
function sl(){return this.c}
function Tl(){return this.b}
function Ul(){return this.c}
function $c(){return ad(),_c}
function vi(){return ti(this)}
function Ci(a){hc();return a}
function Ji(a){hc();return a}
function Ri(a){hc();return a}
function Wi(a){hc();return a}
function Wk(){return Uk(this)}
function Zl(a){hc();return a}
function Kl(){return this.b.e}
function hj(){return oj(this)}
function hk(){return this.b.e}
function xk(){return this.b.c}
function bh(a,b){Zg(a,b,a.g)}
function ii(a,b){ki(a,b,a.c)}
function R(a,b){hc();return a}
function Yf(a){bf(a);null.B()}
function yl(a){Ij(a);return a}
function Fd(a){a.b={};return a}
function Oi(a,b){hc();return a}
function Si(a,b){hc();return a}
function sj(a,b){hc();return a}
function Rb(a,b){a.b=b;return a}
function Vb(a,b){a.b=b;return a}
function si(a,b){a.c=b;return a}
function bk(a,b){a.b=b;return a}
function nk(){return Tk(this.b)}
function Tk(a){return a.b<a.c.c}
function bl(){return this.c.b.e}
function oc(){oc=dm;vc();new sc}
function mj(){mj=dm;jj={};lj={}}
function Fb(){Fb=dm;Eb=Hb(new Db)}
function vk(a,b){a.b=b;return a}
function Sk(a,b){a.c=b;return a}
function el(a,b){a.b=b;return a}
function jd(a){a.d=++hd;return a}
function dd(a){cd(this,Se(a,4))}
function Tg(){jh(this,(hh(),fh))}
function Ug(){jh(this,(hh(),gh))}
function Hg(a,b){!!a.e&&ee(a.e,b)}
function Zi(a,b,c,d,e){return a}
function fl(){return Tk(this.b.b)}
function fk(a){return ck(this,a)}
function yk(a){return Rj(this.b,a)}
function _k(a){return Jj(this.b,a)}
function Il(a){return Jj(this.b,a)}
function oi(){return si(new pi,this)}
function Re(a,b){return a&&Oe[a][b]}
function Oj(b,a){return Wn+a in b.f}
function Vk(){return this.b<this.c.c}
function _g(){return si(new pi,this.b)}
function Nf(a,b){return be(Qf(),a,b)}
function Qe(a,b){return a&&!!Oe[a][b]}
function ui(){return this.b<this.c.c-1}
function wj(a){throw sj(new qj,Xn)}
function Wf(){Wf=dm;Vf=jd(new gd)}
function hh(){hh=dm;fh=new kh;gh=new nh}
function Rf(){if(!Jf){yg();Jf=true}}
function ne(a){a.b=yl(new wl);return a}
function ok(){return Se(Uk(this.b),19)}
function gk(){return kk(new ik,this.b)}
function Dk(){return this.c.f[Wn+this.b]}
function Ek(a,b){return Bk(new zk,b,a)}
function Kk(a,b){(a<0||a>=b)&&Nk(a,b)}
function nl(a,b){Kk(b,a.c);return a.b[b]}
function U(a,b){hc();a.b=b;gc(a);return a}
function Bk(a,b,c){a.c=c;a.b=b;return a}
function Zk(a,b,c){a.b=b;a.c=c;return a}
function Rl(a,b,c){a.b=b;a.c=c;return a}
function Fk(a){return Sj(this.c,this.b,a)}
function rl(a){return ol(this,a,0)!=-1}
function x(){return this.$H||(this.$H=++ub)}
function Ok(){return Sk(new Pk,Se(this,8))}
function w(a){return this===(a==null?null:a)}
function Ve(a,b){return a!=null&&Qe(a.tI,b)}
function hi(a){a.b=Ce(df,0,3,4,0);return a}
function Cl(a){a.b=yl(new wl);return a}
function kl(a){a.b=Ce(ef,0,0,0,0);return a}
function cd(a){Se(a.e,3);$wnd.alert(gn)}
function ai(a){_h();Qh(a,$doc.body);return a}
function gg(){if(!cg){qg();tg();cg=true}}
function Qf(){!Kf&&(Kf=ag(new $f));return Kf}
function Ib(a){var b;b=a.c;a.c=[];Nb(b,a.c)}
function Wl(a){var b;b=this.c;this.c=a;return b}
function Qd(a){var b;if(Nd){b=new Md;ee(a,b)}}
function Nk(a,b){throw Si(new Pi,Yn+a+Zn+b)}
function Kb(a){return a.b.length>0||a.f.length>0}
function We(a){return a!=null&&a.tM!=dm&&a.tI!=2}
function ql(a){return Fe(this.b,this.c++,a),true}
function ll(a,b){Fe(a.b,a.c++,b);return true}
function ic(){try{null.a()}catch(a){return a}}
function wh(a,b){a.g=b;a.g.tabIndex=0;return a}
function Jk(a){ml(this,this.v(),a);return true}
function ie(a,b,c,d){a.b=b;a.d=c;a.c=d;return a}
function Ij(a){a.b=[];a.f={};a.d=false;a.c=null;a.e=0}
function ce(a,b){!a.b&&(a.b=kl(new hl));ll(a.b,b)}
function Dl(a,b){var c;c=Pj(a.b,b,a);return c==null}
function xj(a){var b;b=vj(this.p(),a);return !!b}
function Mf(a){Rf();return Nf(Nd?Nd:(Nd=jd(new gd)),a)}
function bf(a){if(a!=null){throw Ji(new Hi)}return a}
function Rh(a){Ph();try{Jg(a)}finally{Tj(Oh.b,a)!=null}}
function ch(a,b){var c;c=$g(a,b);c&&dh(b.g);return c}
function Hl(a){var b;return b=Pj(this.b,a,this),b==null}
function gl(){var a;a=Se(Uk(this.b.b),19);return a.y()}
function Je(){Je=dm;He=[];Ie=[];Ke(new ue,He,Ie)}
function ad(){ad=dm;_c=md(new fd,fn,(ad(),new Qc))}
function ag(a){a.e=ne(new ke);a.f=null;a.d=false;return a}
function _d(a,b){a.e=ne(new ke);a.f=b;a.d=false;return a}
function dc(a,b){a.length>=b&&a.splice(0,b);return a}
function Qh(a,b){Ph();a.b=hi(new fi);a.g=b;Ig(a);return a}
function Ph(){Ph=dm;Mh=new Vh;Nh=yl(new wl);Oh=Cl(new Al)}
function al(){var a;return a=kk(new ik,this.c.b),el(new cl,a)}
function Cj(a){var b;b=bk(new Xj,a);return Zk(new Xk,a,b)}
function Jb(a){var b;b=a.b;a.b=[];Nb(b,a.f);a.f=Mb(a.f)}
function Mg(a,b){a.d==-1?ug(a.g,b|(a.g.__eventBits||0)):(a.d|=b)}
function Wb(){this.b.d&&Ob(this.b.e,1);return this.b.g}
function xb(a){return function(){return yb(a,this,arguments)}}
function db(a){return a.tM==dm||a.tI==2?a.hC():a.$H||(a.$H=++ub)}
function dh(a){a.style[Nn]=$m;a.style[On]=$m;a.style[Pn]=$m}
function pj(){if(kj==256){jj=lj;lj={};kj=0}++kj}
function of(a){if(a!=null&&Qe(a.tI,14)){return a}return U(new K,a)}
function Se(a,b){if(a!=null&&!Re(a.tI,b)){throw Ji(new Hi)}return a}
function Uk(a){if(a.b>=a.c.c){throw Zl(new Xl)}return nl(a.c,a.b++)}
function ti(a){if(a.b>=a.c.c){throw Zl(new Xl)}return a.c.b[++a.b]}
function Zg(a,b,c){Kg(b);ii(a.b,b);c.appendChild(b.g);Lg(b,a)}
function ml(a,b,c){(b<0||b>a.c)&&Nk(b,a.c);a.b.splice(b,0,c);++a.c}
function Rj(a,b){var c;c=a.c;a.c=b;if(!a.d){a.d=true;++a.e}return c}
function Vj(a){var b;b=a.c;a.c=null;if(a.d){a.d=false;--a.e}return b}
function ni(a,b){var c;c=ji(a,b);if(c==-1){throw Zl(new Xl)}mi(a,c)}
function Tj(a,b){return !b?Vj(a):Uj(a,b,~~(b.$H||(b.$H=++ub)))}
function yc(a,b){return a===b||!!(a.compareDocumentPosition(b)&16)}
function ig(a){return !(a!=null&&a.tM!=dm&&a.tI!=2)&&a!=null&&Qe(a.tI,10)}
function Te(a){if(a!=null&&(a.tM==dm||a.tI==2)){throw Ji(new Hi)}return a}
function De(a,b,c,d){Je();Me(d,He,Ie);d.aC=a;d.tI=b;d.qI=c;return d}
function Me(a,b,c){Je();for(var d=0,e=b.length;d<e;++d){a[b[d]]=c[d]}}
function Ke(a,b,c){var d=0,e;for(var f in a){if(e=a[f]){b[d]=f;c[d]=e;++d}}}
function Ae(a,b){var c,d;c=a;d=Be(0,b);De(c.aC,c.tI,c.qI,d);return d}
function ji(a,b){var c;for(c=0;c<a.c;++c){if(a.b[c]==b){return c}}return -1}
function ol(a,b,c){for(;c<a.c;++c){if(cm(b,a.b[c])){return c}}return -1}
function Gg(a,b,c){Mg(a,eg(c.c));return be(!a.e?(a.e=_d(new Yd,a)):a.e,c,b)}
function be(a,b,c){a.c>0?ce(a,ie(new ge,a,b,c)):oe(a.e,b,c);return new Vd}
function Jl(){var a;return a=kk(new ik,Cj(this.b).c.b),el(new cl,a)}
function Hb(a){Fb();a.e=Rb(new Pb,a);Vb(new Tb,a);a.b=[];a.f=[];a.c=[];return a}
function ug(a,b){gg();rg(a,b);b&131072&&a.addEventListener(En,og,false)}
function ih(a,b){hh();R(a,Qn,b.b.e==0?null:Se(b.w(Ce(gf,47,14,0,0)),17)[0]);return a}
function Wj(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function zl(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function cm(a,b){return (a==null?null:a)===(b==null?null:b)||a!=null&&bb(a,b)}
function Jj(a,b){return b==null?a.d:b!=null&&Qe(b.tI,1)?Oj(a,Se(b,1)):Nj(a,b,~~db(b))}
function Kj(a,b){return b==null?a.c:b!=null&&Qe(b.tI,1)?a.f[Wn+Se(b,1)]:Lj(a,b,~~db(b))}
function bb(a,b){return a.tM==dm||a.tI==2?a.eQ(b):(a==null?null:a)===(b==null?null:b)}
function Sj(e,a,b){var c,d=e.f;a=Wn+a;a in d?(c=d[a]):++e.e;d[a]=b;return c}
function yb(a,b,c){var d;d=tb++==0;try{return a.apply(b,c)}finally{d&&Ib((Fb(),Eb));--tb}}
function gj(a){if(!(a!=null&&Qe(a.tI,1))){return false}return String(this)==a}
function Sh(){Ph();try{jh(Oh,Mh)}finally{Ij(Oh.b);Ij(Nh)}}
function Pj(a,b,c){return b==null?Rj(a,c):b!=null&&Qe(b.tI,1)?Sj(a,Se(b,1),c):Qj(a,b,c,~~db(b))}
function Ef(a,b,c){var d;d=Bf;Bf=a;b==Cf&&eg((oc(),a).type)==8192&&(Cf=null);c.k(a);Bf=d}
function oe(a,b,c){var d;d=Se(Kj(a.b,b),8);if(!d){d=kl(new hl);Pj(a.b,b,d)}Fe(d.b,d.c++,c)}
function Ce(a,b,c,d,e){var f;f=Be(e,d);Je();Me(f,He,Ie);f.aC=a;f.tI=b;f.qI=c;return f}
function md(a,b,c){a.d=++hd;a.b=c;!Vc&&(Vc=Fd(new Dd));Vc.b[b]=a;a.c=b;return a}
function vj(a,b){var c;while(a.r()){c=a.s();if(b==null?c==null:bb(b,c)){return a}}return null}
function Tf(){var a;if(Jf){a=(Wf(),new Uf);!!Kf&&ee(Kf,a);return null}return null}
function tk(){var a,b;a=0;b=0;this.y()!=null&&(a=db(this.y()));this.z()!=null&&(b=db(this.z()));return a^b}
function _j(){var a,b,c;a=0;for(b=this.p();b.r();){c=b.s();if(c!=null){a+=db(c);a=~~a}}return a}
function oj(a){mj();var b=Wn+a;var c=lj[b];if(c!=null){return c}c=jj[b];c==null&&(c=nj(a));pj();return lj[b]=c}
function xc(b){var c=b.relatedTarget;try{var d=c.nodeName;return c}catch(a){return null}}
function Sb(){this.b.d=true;Jb(this.b);this.b.d=false;return this.b.g=Kb(this.b)}
function Ig(a){var b;if(a.c){throw Oi(new Mi,Jn)}a.c=true;a.g.__listener=a;b=a.d;a.d=-1;b>0&&Mg(a,b);a.l();a.n()}
function Jg(a){if(!a.c){throw Oi(new Mi,Kn)}try{a.o()}finally{try{a.m()}finally{a.g.__listener=null;a.c=false}}}
function Kg(a){if(!a.f){Ph();Jj(Oh.b,a)&&Rh(a)}else if(a.f){ch(a.f,a)}else if(a.f){throw Oi(new Mi,Ln)}}
function mc(a){var b,c,d;d=a&&a.stack?a.stack.split(en):[];for(b=0,c=d.length;b<c;++b){d[b]=cc(d[b])}return d}
function P(a){var b,c,d;c=Ce(ff,0,13,a.length,0);for(d=0,b=a.length;d<b;++d){if(!a[d]){throw Wi(new Ui)}c[d]=a[d]}}
function Be(a,b){var c=new Array(b);if(a>0){var d=[null,0,false,[0,0]][a];for(var e=0;e<b;++e){c[e]=d}}return c}
function Gj(g,a){var b=g.b;for(var c in b){if(c==parseInt(c)){var d=b[c];for(var e=0,f=d.length;e<f;++e){a.t(d[e])}}}}
function Hj(e,a){var b=e.f;for(var c in b){if(c.charCodeAt(0)==58){var d=Ek(e,c.substring(1));a.t(d)}}}
function yh(a,b){var c;wh(a,(c=(oc(),$doc).createElement(Rn),c.type=Sn,c));a.g[Tn]=Un;a.g.innerHTML=b||$m;return a}
function Pg(a){var b;switch(eg((oc(),a).type)){case 16:case 32:b=xc(a);if(!!b&&yc(this.g,b)){return}}Zc(a,this,this.g)}
function sk(a){var b;if(a!=null&&Qe(a.tI,19)){b=Se(a,19);if(cm(this.y(),b.y())&&cm(this.z(),b.z())){return true}}return false}
function fe(a){var b,c;if(a.b){try{for(c=Sk(new Pk,a.b);c.b<c.c.c;){b=Se(Uk(c),7);oe(b.b.e,b.d,b.c)}}finally{a.b=null}}}
function kk(a,b){var c;a.c=b;c=kl(new hl);a.c.d&&ll(c,vk(new pk,a.c));Hj(a.c,c);Gj(a.c,c);a.b=Sk(new Pk,c);return a}
function mi(a,b){var c;if(b<0||b>=a.c){throw Ri(new Pi)}--a.c;for(c=b;c<a.c;++c){Fe(a.b,c,a.b[c+1])}Fe(a.b,a.c,null)}
function Mk(){var a,b,c;b=1;a=Sk(new Pk,Se(this,8));while(a.b<a.c.c){c=Uk(a);b=31*b+(c==null?0:db(c));b=~~b}return b}
function Ej(){var a,b,c;c=0;for(b=kk(new ik,bk(new Xj,Se(this,20)).b);Tk(b.b);){a=Se(Uk(b.b),19);c+=a.hC();c=~~c}return c}
function ck(a,b){var c,d,e;if(b!=null&&Qe(b.tI,19)){c=Se(b,19);d=c.y();if(Jj(a.b,d)){e=Kj(a.b,d);return zl(c.z(),e)}}return false}
function Ob(b,c){Fb();$wnd.setTimeout(function(){var a=$entry(Lb)(b);a&&$wnd.setTimeout(arguments.callee,c)},c)}
function gwtOnLoad(b,c,d){$moduleName=c;$moduleBase=d;if(b)try{$entry(lf)()}catch(a){b(c)}else{$entry(lf)()}}
function Lg(a,b){var c;c=a.f;if(!b){try{!!c&&c.c&&Jg(a)}finally{a.f=null}}else{if(c){throw Oi(new Mi,Mn)}a.f=b;b.c&&Ig(a)}}
function Fe(a,b,c){if(c!=null){if(a.qI>0&&!Re(c.tI,a.qI)){throw Ci(new Ai)}if(a.qI<0&&(c.tM==dm||c.tI==2)){throw Ci(new Ai)}}return a[b]=c}
function Th(a){Ph();var b;b=Se(Kj(Nh,a),18);if(b){return b}Nh.e==0&&Mf(new Yh);b=ai(new $h);Pj(Nh,a,b);Dl(Oh,b);return b}
function yj(a){var b,c,d,e;e=this.v();a.length<e&&(a=Ae(a,e));d=a;c=this.p();for(b=0;b<e;++b){Fe(d,b,c.s())}a.length>e&&Fe(a,e,null);return a}
function Zc(a,b,c){var d,e,f;if(Vc){f=Se(Vc.b[(oc(),a).type],5);if(f){d=f.b.b;e=f.b.c;f.b.b=a;f.b.c=c;Hg(b,f.b);f.b.b=d;f.b.c=e}}}
function gc(a){var b,c,d,e;d=mc(We(a.b)?Te(a.b):null);e=Ce(ff,0,13,d.length,0);for(b=0,c=e.length;b<c;++b){e[b]=Zi(new Xi,cn,d[b],dn,0)}P(e)}
function hc(){var a,b,c,d;c=dc(mc(ic()),2);d=Ce(ff,0,13,c.length,0);for(a=0,b=d.length;a<b;++a){d[a]=Zi(new Xi,cn,c[a],dn,0)}P(d)}
function Nb(b,c){var a,e,f,g;for(e=0,f=b.length;e<f;++e){g=b[e];try{g[1]?g[0].h()&&(c[c.length]=g,undefined):g[0].B()}catch(a){a=of(a);if(!Ve(a,2))throw a}}}
function Lj(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.y();if(h.x(a,g)){return f.z()}}}return null}
function Nj(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.y();if(h.x(a,g)){return true}}}return false}
function Uj(h,a,b){var c=h.b[b];if(c){for(var d=0,e=c.length;d<e;++d){var f=c[d];var g=f.y();if(h.x(a,g)){c.length==1?delete h.b[b]:c.splice(d,1);--h.e;return f.z()}}}return null}
function ej(c){if(c.length==0||c[0]>Vn&&c[c.length-1]>Vn){return c}var a=c.replace(/^(\s*)/,$m);var b=a.replace(/\s*$/,$m);return b}
function $j(a){var b,c,d;if((a==null?null:a)===this){return true}if(!(a!=null&&Qe(a.tI,21))){return false}c=Se(a,21);if(c.v()!=this.v()){return false}for(b=c.p();b.r();){d=b.s();if(!this.u(d)){return false}}return true}
function cc(a){var b,c,d;d=$m;a=ej(a);b=a.indexOf(_m);if(b!=-1){c=a.indexOf(an)==0?8:0;d=ej(a.substr(c,b-c))}return d.length>0?d:bn}
function nj(a){var b,c,d,e;b=0;d=a.length;e=d-4;c=0;while(c<e){b=a.charCodeAt(c+3)+31*(a.charCodeAt(c+2)+31*(a.charCodeAt(c+1)+31*(a.charCodeAt(c)+31*b)))|0;c+=4}while(c<d){b=b*31+a.charCodeAt(c++)}return b|0}
function jh(b,c){var i;hh();var a,e,f,g,h;e=null;for(h=b.p();h.r();){g=Se(h.s(),3);try{c.q(g)}catch(a){a=of(a);if(Ve(a,14)){f=a;!e&&(e=Cl(new Al));i=Pj(e.b,f,e)}else throw a}}if(e){throw ih(new eh,e)}}
function Qj(j,a,b,c){var d=j.b[c];if(d){for(var e=0,f=d.length;e<f;++e){var g=d[e];var h=g.y();if(j.x(a,h)){var i=g.z();g.A(b);return i}}}else{d=j.b[c]=[]}var g=Rl(new Pl,a,b);d.push(g);++j.e;return null}
function ki(a,b,c){var d,e;if(c<0||c>a.c){throw Ri(new Pi)}if(a.c==a.b.length){e=Ce(df,0,3,a.b.length*2,0);for(d=0;d<a.b.length;++d){Fe(e,d,a.b[d])}a.b=e}++a.c;for(d=a.c-1;d>c;--d){Fe(a.b,d,a.b[d-1])}Fe(a.b,c,b)}
function lf(){var a,b;!!$stats&&$stats({moduleName:$moduleName,sessionId:$sessionId,subSystem:hn,evtGroup:jn,millis:(new Date).getTime(),type:kn,className:ln});a=yh(new rh,mn);b=new Ih;Gg(a,b,(ad(),ad(),_c));bh((Ph(),Th(null)),a)}
function pe(a,b,c){var d,e,f,g,h,i,j;g=b.j();d=(h=Se(Kj(a.b,g),8),!h?0:h.c);if(c){for(f=d-1;f>=0;--f){e=(i=Se(Kj(a.b,g),8),Se((Kk(f,i.c),i.b[f]),16));b.i(e)}}else{for(f=0;f<d;++f){e=(j=Se(Kj(a.b,g),8),Se((Kk(f,j.c),j.b[f]),16));b.i(e)}}}
function Mb(a){var b,c,d,e,f,g;b=false;d=a.length;f=(new Date).getTime();while((new Date).getTime()-f<100){for(c=0;c<d;++c){g=a[c];if(!g){continue}if(!g[0].h()){a[c]=null;b=true}}}if(b){e=[];for(c=0;c<d;++c){if(!a[c]){continue}e[e.length]=a[c]}return e}else{return a}}
function ee(a,b){var c;if(b.d){b.d=false;b.e=null}c=b.e;b.e=a.f;try{++a.c;pe(a.e,b,a.d)}finally{--a.c;a.c==0&&fe(a)}if(c==null){b.d=true;b.e=null}else{b.e=c}}
function Lk(a){var b,c,d,e,f;if((a==null?null:a)===this){return true}if(!(a!=null&&Qe(a.tI,8))){return false}f=Se(a,8);if(this.v()!=f.c){return false}d=Sk(new Pk,Se(this,8));e=Sk(new Pk,f);while(d.b<d.c.c){b=Uk(d);c=Uk(e);if(!(b==null?c==null:bb(b,c))){return false}}return true}
function $g(a,b){var c,d;if(b.f!=a){return false}try{Lg(b,null)}finally{c=b.g;(d=(oc(),c).parentNode,(!d||d.nodeType!=1)&&(d=null),d).removeChild(c);ni(a.b,b)}return true}
function yg(){var d=$wnd.onbeforeunload;var e=$wnd.onunload;$wnd.onbeforeunload=function(a){var b,c;try{b=$entry(Tf)()}finally{c=d&&d(a)}if(b!=null){return b}if(c!=null){return c}};$wnd.onunload=$entry(function(a){try{Jf&&Qd(Qf())}finally{e&&e(a);$wnd.onresize=null;$wnd.onscroll=null;$wnd.onbeforeunload=null;$wnd.onunload=null}})}
function ul(a){var b,c,d;a.length<this.c&&(a=(c=a,d=Be(0,this.c),De(c.aC,c.tI,c.qI,d),d));for(b=0;b<this.c;++b){Fe(a,b,this.b[b])}a.length>this.c&&Fe(a,this.c,null);return a}
function tg(){$wnd.addEventListener(yn,$entry(function(a){var b=$wnd.__captureElem;if(b&&!a.relatedTarget){if(Hn==a.target.tagName.toLowerCase()){var c=$doc.createEvent(In);c.initMouseEvent(An,true,true,$wnd,0,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.button,null);b.dispatchEvent(c)}}}),true);$wnd.addEventListener(En,ng,true)}
function eg(a){switch(a){case nn:return 4096;case on:return 1024;case fn:return 1;case pn:return 2;case qn:return 2048;case rn:return 128;case sn:return 256;case tn:return 512;case un:return 32768;case vn:return 8192;case wn:return 4;case xn:return 64;case yn:return 32;case zn:return 16;case An:return 8;case Bn:return 16384;case Cn:return 65536;case Dn:return 131072;case En:return 131072;case Fn:return 262144;case Gn:return 524288;}}
function Dj(a){var b,c,d,e,f;if((a==null?null:a)===this){return true}if(!(a!=null&&Qe(a.tI,20))){return false}e=Se(a,20);if(Se(this,20).e!=e.e){return false}for(c=kk(new ik,bk(new Xj,e).b);Tk(c.b);){b=Se(Uk(c.b),19);d=b.y();f=b.z();if(!(d==null?Se(this,20).d:d!=null&&Qe(d.tI,1)?Oj(Se(this,20),Se(d,1)):Nj(Se(this,20),d,~~db(d)))){return false}if(!cm(f,d==null?Se(this,20).c:d!=null&&Qe(d.tI,1)?Se(this,20).f[Wn+Se(d,1)]:Lj(Se(this,20),d,~~db(d)))){return false}}return true}
function qg(){ng=$entry(function(a){if(mg(a)){var b=lg;if(b&&b.__listener){if(ig(b.__listener)){Ef(a,b,b.__listener);a.stopPropagation()}}}});mg=$entry(function(a){return true});og=$entry(function(a){var b,c=this;while(c&&!(b=c.__listener)){c=c.parentNode}c&&c.nodeType!=1&&(c=null);b&&ig(b)&&Ef(a,c,b)});$wnd.addEventListener(fn,ng,true);$wnd.addEventListener(pn,ng,true);$wnd.addEventListener(wn,ng,true);$wnd.addEventListener(An,ng,true);$wnd.addEventListener(xn,ng,true);$wnd.addEventListener(zn,ng,true);$wnd.addEventListener(yn,ng,true);$wnd.addEventListener(Dn,ng,true);$wnd.addEventListener(rn,mg,true);$wnd.addEventListener(tn,mg,true);$wnd.addEventListener(sn,mg,true)}
function rg(a,b){var c=(a.__eventBits||0)^b;a.__eventBits=b;if(!c)return;c&1&&(a.onclick=b&1?og:null);c&2&&(a.ondblclick=b&2?og:null);c&4&&(a.onmousedown=b&4?og:null);c&8&&(a.onmouseup=b&8?og:null);c&16&&(a.onmouseover=b&16?og:null);c&32&&(a.onmouseout=b&32?og:null);c&64&&(a.onmousemove=b&64?og:null);c&128&&(a.onkeydown=b&128?og:null);c&256&&(a.onkeypress=b&256?og:null);c&512&&(a.onkeyup=b&512?og:null);c&1024&&(a.onchange=b&1024?og:null);c&2048&&(a.onfocus=b&2048?og:null);c&4096&&(a.onblur=b&4096?og:null);c&8192&&(a.onlosecapture=b&8192?og:null);c&16384&&(a.onscroll=b&16384?og:null);c&32768&&(a.onload=b&32768?og:null);c&65536&&(a.onerror=b&65536?og:null);c&131072&&(a.onmousewheel=b&131072?og:null);c&262144&&(a.oncontextmenu=b&262144?og:null);c&524288&&(a.onpaste=b&524288?og:null)}
var $m='',en='\n',Vn=' ',_m='(',Zn=', Size: ',Wn=':',Xn='Add not supported on this collection',Rn='BUTTON',Mn='Cannot set a new parent without first clearing the old parent',En='DOMMouseScroll',gn='Hello World!',Yn='Index: ',In='MouseEvents',Qn='One or more exceptions caught, see full set in AttachDetachException#getCauses',Jn="Should only call onAttach when the widget is detached from the browser's document",Kn="Should only call onDetach when the widget is attached to the browser's document",mn='SimpleGadget',Ln="This widget's parent does not implement HasWidgets",cn='Unknown',dn='Unknown source',bn='anonymous',nn='blur',Sn='button',on='change',Tn='className',fn='click',ln='com.example.simplegadget.client.SimpleGadget',Fn='contextmenu',pn='dblclick',Cn='error',qn='focus',an='function',Un='gwt-Button',Hn='html',rn='keydown',sn='keypress',tn='keyup',Nn='left',un='load',vn='losecapture',jn='moduleStartup',wn='mousedown',xn='mousemove',yn='mouseout',zn='mouseover',An='mouseup',Dn='mousewheel',kn='onModuleLoadStart',Gn='paste',Pn='position',Bn='scroll',hn='startup',On='top';var _;_=s.prototype={};_.eQ=w;_.hC=x;_.tM=dm;_.tI=1;_=N.prototype=new s;_.tI=3;_=M.prototype=new N;_.tI=4;_=L.prototype=new M;_.tI=5;_=K.prototype=new L;_.tI=6;_.b=null;_=pb.prototype=new s;_.tI=0;var tb=0,ub=0;_=Db.prototype=new pb;_.tI=0;_.d=false;_.g=false;var Eb;_=Pb.prototype=new s;_.h=Sb;_.tI=0;_.b=null;_=Tb.prototype=new s;_.h=Wb;_.tI=0;_.b=null;_=nc.prototype=new s;_.tI=0;_=tc.prototype=new nc;_.tI=0;_=sc.prototype=new tc;_.tI=0;_=Sc.prototype=new s;_.tI=0;_.d=false;_.e=null;_=Rc.prototype=new Sc;_.j=$c;_.tI=0;_.b=null;_.c=null;var Vc=null;_=Qc.prototype=new Rc;_.i=dd;_.tI=0;var _c;_=gd.prototype=new s;_.hC=kd;_.tI=0;_.d=0;var hd=0;_=fd.prototype=new gd;_.tI=7;_.b=null;_.c=null;_=Dd.prototype=new s;_.tI=0;_.b=null;_=Md.prototype=new Sc;_.i=Pd;_.j=Rd;_.tI=0;var Nd=null;_=Vd.prototype=new s;_.tI=0;_=Yd.prototype=new s;_.tI=0;_.b=null;_.c=0;_.d=false;_.e=null;_.f=null;_=ge.prototype=new s;_.tI=8;_.b=null;_.c=null;_.d=null;_=ke.prototype=new s;_.tI=0;_=ue.prototype=new s;_.tI=0;_.aC=null;_.length=0;_.qI=0;var He,Ie;var Oe=[{},{},{1:1,12:1},{12:1,14:1},{12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{5:1},{7:1},{16:1},{9:1},{11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{2:1,12:1,14:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{3:1,9:1,10:1,11:1},{16:1},{4:1,16:1},{3:1,9:1,10:1,11:1,18:1},{6:1,16:1},{3:1,9:1,10:1,11:1,18:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{12:1,14:1},{12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{2:1,12:1,14:1},{12:1,13:1},{2:1,12:1,14:1},{21:1},{21:1},{19:1},{19:1},{19:1},{21:1},{8:1,12:1},{12:1,20:1},{12:1,21:1},{19:1},{2:1,12:1,14:1},{15:1},{17:1}];_=yf.prototype=new s;_.tI=9;var Bf=null,Cf=null;var Jf=false,Kf=null;_=Uf.prototype=new Sc;_.i=Yf;_.j=Zf;_.tI=0;var Vf;_=$f.prototype=new Yd;_.tI=10;var cg=false;var lg=null,mg=null,ng=null,og=null;_=Dg.prototype=new s;_.tI=11;_.g=null;_=Cg.prototype=new Dg;_.l=Ng;_.m=Og;_.k=Pg;_.n=Qg;_.o=Rg;_.tI=12;_.c=false;_.d=0;_.e=null;_.f=null;_=Bg.prototype=new Cg;_.l=Tg;_.m=Ug;_.n=Vg;_.o=Wg;_.tI=13;_=Ag.prototype=new Bg;_.p=_g;_.tI=14;_=zg.prototype=new Ag;_.tI=15;_=eh.prototype=new L;_.tI=16;var fh,gh;_=kh.prototype=new s;_.q=mh;_.tI=0;_=nh.prototype=new s;_.q=ph;_.tI=0;_=th.prototype=new Cg;_.tI=17;_=sh.prototype=new th;_.tI=18;_=rh.prototype=new sh;_.tI=19;_=Gh.prototype=new yf;_.tI=20;_=Ih.prototype=new Gh;_.tI=21;_=Lh.prototype=new zg;_.tI=22;var Mh,Nh,Oh;_=Vh.prototype=new s;_.q=Xh;_.tI=0;_=Yh.prototype=new s;_.tI=23;_=$h.prototype=new Lh;_.tI=24;_=fi.prototype=new s;_.p=oi;_.tI=0;_.b=null;_.c=0;_=pi.prototype=new s;_.r=ui;_.s=vi;_.tI=0;_.b=-1;_.c=null;_=Ai.prototype=new L;_.tI=26;_=Ei.prototype=new s;_.tI=0;_=Hi.prototype=new L;_.tI=29;_=Mi.prototype=new L;_.tI=30;_=Pi.prototype=new L;_.tI=31;_=Ui.prototype=new L;_.tI=32;_=Xi.prototype=new s;_.tI=33;_=String.prototype;_.eQ=gj;_.hC=hj;_.tI=2;var jj,kj=0,lj;_=qj.prototype=new L;_.tI=34;_=tj.prototype=new s;_.t=wj;_.u=xj;_.w=yj;_.tI=0;_=Aj.prototype=new s;_.eQ=Dj;_.hC=Ej;_.tI=0;_=zj.prototype=new Aj;_.x=Wj;_.tI=0;_.b=null;_.c=null;_.d=false;_.e=0;_.f=null;_=Yj.prototype=new tj;_.eQ=$j;_.hC=_j;_.tI=35;_=Xj.prototype=new Yj;_.u=fk;_.p=gk;_.v=hk;_.tI=36;_.b=null;_=ik.prototype=new s;_.r=nk;_.s=ok;_.tI=0;_.b=null;_.c=null;_=qk.prototype=new s;_.eQ=sk;_.hC=tk;_.tI=37;_=pk.prototype=new qk;_.y=wk;_.z=xk;_.A=yk;_.tI=38;_.b=null;_=zk.prototype=new qk;_.y=Ck;_.z=Dk;_.A=Fk;_.tI=39;_.b=null;_.c=null;_=Gk.prototype=new tj;_.t=Jk;_.eQ=Lk;_.hC=Mk;_.p=Ok;_.tI=0;_=Pk.prototype=new s;_.r=Vk;_.s=Wk;_.tI=0;_.b=0;_.c=null;_=Xk.prototype=new Yj;_.u=_k;_.p=al;_.v=bl;_.tI=40;_.b=null;_.c=null;_=cl.prototype=new s;_.r=fl;_.s=gl;_.tI=0;_.b=null;_=hl.prototype=new Gk;_.t=ql;_.u=rl;_.v=sl;_.w=ul;_.tI=41;_.c=0;_=wl.prototype=new zj;_.tI=42;_=Al.prototype=new Yj;_.t=Hl;_.u=Il;_.p=Jl;_.v=Kl;_.tI=43;_.b=null;_=Pl.prototype=new qk;_.y=Tl;_.z=Ul;_.A=Wl;_.tI=44;_.b=null;_.c=null;_=Xl.prototype=new L;_.tI=45;var $entry=xb;var ff=new Ei,gf=new Ei,df=new Ei,ef=new Ei;$stats && $stats({moduleName:'simplegadget',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalEnd'});if (simplegadget) simplegadget.onScriptLoad(gwtOnLoad);})();